import { request } from '@/utils/request'

// 物资编码树
export function mmPartsCodeTree(param) {
  return request({
    url: '/mmPartsCode/show',
    method: 'post',
    data: param,
  })
}
// 物资编码树
export function mmPartsCodeDetail(param) {
  return request({
    url: '/mmPartsCode/detail',
    method: 'post',
    data: param,
  })
}

// 物资编码保存
export function mmPartsCodeSave(param) {
  return request({
    url: '/mmPartsCode/save',
    method: 'post',
    data: param,
  })
}
// 物资编码删除
export function mmPartsCodeDel(param) {
  return request({
    url: '/mmPartsCode/delete',
    method: 'post',
    data: param,
  })
}
